projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc67f7a
)
[quartz] Set GdkQuartzView wantsLayer.
author
John Ralls
<jralls@ceridwen.us>
Thu, 8 Dec 2022 18:04:56 +0000
(10:04 -0800)
committer
John Ralls
<jralls@ceridwen.us>
Thu, 8 Dec 2022 18:04:56 +0000
(10:04 -0800)
Apparently wantsUpdateLayer by itself isn't sufficient.
Also #ifdef wantsUpdateLayer for macOS X 10.8 and later; earlier
versions don't provide it.
Fixes #5393
gdk/quartz/GdkQuartzView.c
patch
|
blob
|
history
diff --git
a/gdk/quartz/GdkQuartzView.c
b/gdk/quartz/GdkQuartzView.c
index af28e37beaf64a18967e4b4c5afc1107fa4d4e2d..16b5989fc70e61e813cbb562cec0a0ebccb3e09a 100644
(file)
--- a/
gdk/quartz/GdkQuartzView.c
+++ b/
gdk/quartz/GdkQuartzView.c
@@
-326,10
+326,17
@@
[super viewWillDraw];
}
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 10900
-(BOOL)wantsUpdateLayer
{
return YES;
}
+#endif
+
+-(BOOL)wantsLayer
+{
+ return YES;
+}
static void
nsrect_from_cairo_rect (NSRect *nsrect, cairo_rectangle_int_t *rect)